package com.itheima.接口.接口和抽象类的区别_05;

public  abstract class Animal {
    public abstract void eat();
}
class Dog extends Animal{
    @Override
    public void eat() {
        System.out.println();
    }
}